package cn.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Const {
	public static final String ROOT="/catshop/";
	public static final Integer PAGESIZE=3;
	public static String getTime() {
		Date date = new Date();
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return df.format(date);
	}
	
	public static String getDate() {
		Date date = new Date();
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
		return df.format(date);
	}
	
	public static String getNos() {
		Date date = new Date();
		SimpleDateFormat df = new SimpleDateFormat("HHmmssSSS");
		return df.format(date);
	}

}
